package com.mmy.fta.coldtruck.server.repository;

import com.mmy.fta.coldtruck.server.entity.ColdTruckAlarmEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ColdTruckAlarmEntityMapper {
    int insert(ColdTruckAlarmEntity record);

    int insertSelective(ColdTruckAlarmEntity record);

    ColdTruckAlarmEntity selectByPrimaryKey(Long id);

    List<ColdTruckAlarmEntity> selectByOrderId(Long orderId);

    int updateByPrimaryKeySelective(ColdTruckAlarmEntity record);

    int updateByPrimaryKey(ColdTruckAlarmEntity record);
}